package com.gcsoftware.exception;

import com.gcsoftware.configs.AppConstants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Controller 入口参数校验
 * @author czp
 * date : 2018-04-10
 */
public class ControllerException extends RuntimeException {
    private Logger logger = LoggerFactory.getLogger(ControllerException.class);

    public ControllerException(String funName) {
        logger.error(AppConstants.Log.LOG_PREFIX.getValue() +
                funName + " : Entry parameter check exception !!!" +
                AppConstants.Log.LOG_SUFFIX.getValue());
    }
}
